<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<title>hdphp教学博客-列表页</title>
		<!--描述和摘要-->
		<meta name="Description" content=""/>
		<meta name="Keywords" content=""/>
			<!--载入公共模板-->
		<!--载入公共模板-->
        <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
        <link rel="stylesheet" type="text/css" href="http://localhost/c59/2016/0125/Hd/Public/Home/org/bootstrap-3.3.5-dist/css/bootstrap.min.css" />
        <script src="http://localhost/c59/2016/0125/Hd/Public/Home/js/jquery-1.11.3.min.js" type="text/javascript" charset="utf-8"></script>
        <script src="http://localhost/c59/2016/0125/Hd/Public/Home/org/bootstrap-3.3.5-dist/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
        <link rel="stylesheet" type="text/css" href="http://localhost/c59/2016/0125/Hd/Public/Home/css/index.css" />
        <link rel="stylesheet" type="text/css" href="http://localhost/c59/2016/0125/Hd/Public/Home/css/backTop.css"/>
    </head>
    <body>
<header>
            <div class="container">
                <div class="row">
                    <div class="col-sm-12">
                        <h1>欢迎来到c59个人博客</h1>
                    </div>
                </div>
            </div>
        </header>
         <nav role="navigation" class="navbar navbar-default">
            <div class="container">
                <div class="row">
                    <div class="col-sm-12" >
                    
                        <div class="navbar-header">
                            
                            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#example-navbar-collapse">
                            
                                <span class="sr-only">切换导航</span>
                                
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                            </button>
                        </div>
                        
                        
                        <div class="collapse navbar-collapse" id="example-navbar-collapse">
                        <script type="text/javascript" src="http://localhost/c59/2016/0125/Hd/Public/jquery-1.7.2.min.js"></script>
                        <script type="text/javascript">
                            $(function(
                                
                                ))
                        </script>
                            <ul class="_menu" >
                            <li class="_active"><a href="http://localhost/c59/2016/0125/Hd/index.php?m=home&c=index&a=index">首页</a></li>
                                                            <li><a href="http://localhost/c59/2016/0125/Hd/index.php?m=Home&c=lists&a=index&cid=1">新闻类</a></li>
                            
                                                               <li><a href="http://localhost/c59/2016/0125/Hd/index.php?m=Home&c=lists&a=index&cid=2">娱乐类</a></li>
                            
                                                               <li><a href="http://localhost/c59/2016/0125/Hd/index.php?m=Home&c=lists&a=index&cid=3">文学类</a></li>
                            
                                                               <li><a href="http://localhost/c59/2016/0125/Hd/index.php?m=Home&c=lists&a=index&cid=12">asdasd</a></li>
                            
                                
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </nav>
			<section>
			<div class="container">
				<div class="row">
					<!--标签规定文档的主要内容main-->
					<main class="col-md-8">
						<article>
							<div class="_head category_title">
								<h2>
										<?php echo $headData['type']?>：
										<!--分类：-->
									<?php echo $headData['tyname']?>
								</h2>
								<span>
									共 <?php echo $headData['tynum']?> 篇文章 
								</span>
							</div>
						</article>
						<?php if($data){?>
                
						<?php foreach ($data as $k=>$v){?>
						<article>
							<div class="_head">
								<h1><?php echo $v['title']?></h1>
								<span>
								作者：
								<?php echo $v['author']?>
								</span>
								•
								<!--pubdate表⽰示发布⽇日期-->
								<time pubdate="pubdate" datetime="<?php echo date('Y-m-d H:i:s',$v['sendtime'])?>"><?php echo date('Y-m-d H:i:s',$v['sendtime'])?></time>
								
								•
								分类：
								<a href="l_t_<?php echo $v['cid']?>.html"><?php echo $v['cname']?></a>
								•
								<span>浏览次数：<?php echo $v['click']?></span> 
							</div>
							<div class="_digest">
							<img src="<?php echo __ROOT__?>/<?php echo $v['thumb']?>"  class="img-responsive"/>
								<p>
									摘要：<?php echo $v['digest']?>
								</p>
							</div>
							<div class="_more">
								<a href="l_t_<?php echo $v['aid']?>.html" class="btn btn-default">阅读全文</a>
							</div>
							<div class="_footer">
								<i class="glyphicon glyphicon-tags"></i>
								<?php foreach ($v['tag'] as $k=>$vv){?>
								<a href=""><?php echo $vv?></a>
								<?php }?>
							</div>
						</article>
						<?php }?>
						<?php }else{?>
						<center style="color:red;"><h1>抱歉！该模块还没有内容</h1></center>
						
               <?php }?>
					</main>
					  <aside class="col-md-4 hidden-sm hidden-xs">
                        <div class="_widget">
                            <h4>关于自己</h4>
                            <div class="_info">
                                <p>后盾网人人做后盾</p>
                                <p>
                                    <i class="glyphicon glyphicon-volume-down"></i>
                                    目前就职于
                                    <a href="http://www.houdunwang.com" target="_blank">北京后盾网</a>
                                </p>
                            </div>
                        </div>
                        <div class="_widget">
                            <h4>分类列表</h4>
                            <div>
                                                                <a href="http://localhost/c59/2016/0125/Hd/index.php?m=Home&c=lists&a=index&cid=1">新闻类（1）</a>
                                                                <a href="http://localhost/c59/2016/0125/Hd/index.php?m=Home&c=lists&a=index&cid=2">娱乐类（1）</a>
                                                                <a href="http://localhost/c59/2016/0125/Hd/index.php?m=Home&c=lists&a=index&cid=3">文学类（7）</a>
                                                                <a href="http://localhost/c59/2016/0125/Hd/index.php?m=Home&c=lists&a=index&cid=12">asdasd（0）</a>
                                                            </div>
                        </div>
                        <div class="_widget">
                            <h4>标签云</h4>
                            <div class="_tag">
                                                             <a href="http://localhost/c59/2016/0125/Hd/index.php?m=Home&c=lists&a=index&tid=1">最新</a>
                                                                <a href="http://localhost/c59/2016/0125/Hd/index.php?m=Home&c=lists&a=index&tid=2">新闻</a>
                                                                <a href="http://localhost/c59/2016/0125/Hd/index.php?m=Home&c=lists&a=index&tid=3">娱乐</a>
                                                                <a href="http://localhost/c59/2016/0125/Hd/index.php?m=Home&c=lists&a=index&tid=4">军事</a>
                                                                
                            </div>
                        </div>
                        
                    </aside>
				</div>
			</div>
		</section>
			          <footer class="hidden-xs">
            <div class="container">
                <div class="row">
                    <div class="col-sm-4">
                        <h4 class="_title">最新文章</h4>
                            
                        <div id="" class="_single">
                                                    <p><a href="http://localhost/c59/2016/0125/Hd/index.php?m=Home&c=content&a=index&aid=20">q123123</a></p>
                            <time>2016-01-26 16:17:47</time>
                                                        <p><a href="http://localhost/c59/2016/0125/Hd/index.php?m=Home&c=content&a=index&aid=19">asdasd</a></p>
                            <time>2016-01-26 13:14:16</time>
                                                    </div>
                            
                           <!--  <div id="" class="_single">
                            <p><a href="">标题</a></p>
                            <time>2010年11月06日11:24:16</time>
                        </div> -->
                    </div>
                    <div class="col-sm-4 footer_tag">
                        <div id="">

                            <h4 class="_title">标签云</h4>
                                                            <a href="http://localhost/c59/2016/0125/Hd/index.php?m=Home&c=lists&a=index&tid=1">最新</a>
                                                                <a href="http://localhost/c59/2016/0125/Hd/index.php?m=Home&c=lists&a=index&tid=2">新闻</a>
                                                                <a href="http://localhost/c59/2016/0125/Hd/index.php?m=Home&c=lists&a=index&tid=3">娱乐</a>
                                                                <a href="http://localhost/c59/2016/0125/Hd/index.php?m=Home&c=lists&a=index&tid=4">军事</a>
                                                        </div>
                    </div>
                    <div class="col-sm-4">
                        <h4 class="_title">友情链接</h4>
                        <div id="" class="_single">
                                                    <p><a href="https://www.baidu.com/?tn=92760364_hao_pg" target="_blank">百度</a></p>
                                                    <p><a href="http://www.sina.com.cn/" target="_blank">新浪</a></p>
                                                    <p><a href="asdasd" target="_blank">adasd</a></p>
                                                </div>
                    </div>
                </div>
            </div>
        </footer>
        <div class="footer_bottom">
            <div class="container">
                <div class="row">
                    <div class="col-sm-12">
                        <a href="">网站名称</a>
                         | 
                        <a href="">版权信息</a>
                         |
                        <a href="">admin@163.com</a>
                    </div>
                </div>
            </div>
        </div>
        <!--返回顶部自己写的插件-->
        <script src="http://localhost/c59/2016/0125/Hd/Public/Home/js/backTop.js" type="text/javascript" charset="utf-8"></script>
        <script type="text/javascript">
            $(function(){
                //插件使用
                $('.back_top').backTop({right:30});
            })
        </script>
        <div class="back_top hidden-xs hidden-md">
            <i class="glyphicon glyphicon-menu-up"></i>
        </div>

	</body>
</html>